package com.housediyadmin.command.houseCommand
{
	import com.housediyadmin.events.houseEvents.GetHousesEvent;
	import com.housediyadmin.model.HouseModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/11/16
	 */	
	public class UpdateHouseIdsCmd extends Command
	{
		[Inject]
		public var event:GetHousesEvent;
		
		[Inject]
		public var houseModel:HouseModel;
		
		override public function execute():void
		{
			houseModel.updateHouseIds(event.houseIds);
		}
	}
}